﻿$(document).ready(function () {
    //Highcharts.createElement('link', {
    //    href: 'http://fonts.googleapis.com/css?family=Signika:400,700',
    //    rel: 'stylesheet',
    //    type: 'text/css'
    //}, null, document.getElementsByTagName('head')[0]);

    // Add the background image to the container
    Highcharts.wrap(Highcharts.Chart.prototype, 'getContainer', function (proceed) {
        proceed.call(this);
        this.container.style.borderWidth = '1px';
    });

    Highcharts.theme = {
        colors: ["#f45b5b", "#8085e9", "#8d4654", "#7798BF", "#aaeeee", "#ff0066", "#eeaaee",
           "#55BF3B", "#DF5353", "#7798BF", "#aaeeee"],
        chart: {
            backgroundColor: null
        },
        title: {
            style: {
                color: 'black',
                fontSize: '16px',
                fontWeight: 'bold'
            }
        },
        tooltip: {
            borderWidth: 0
        },
        legend: {
            itemStyle: {
                fontWeight: 'bold',
                fontSize: '13px'
            }
        }
    };
    // Apply the theme
    Highcharts.setOptions(Highcharts.theme);
});